<!doctype html>
<html lang="zh-cn">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>{$title|default='多人博客'}</title>
    <link rel="stylesheet" href="__CSS__/bootstrap.min.css">
    <link rel="stylesheet" href="__CSS__/style.css">
    <script src="__JS__/jquery-3.3.1.min.js"></script>
    <script src="__JS__/bootstrap.min.js"></script>
</head>
<body>
<div class="navbar navbar-inverse navbar-fixed-top">
    <div class="container">
        <div class="navbar-header">
            <button class="navbar-toggle collapsed" type="button" data-toggle="collapse" data-target=".navbar-collapse">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
            <a class="navbar-brand hidden-sm" href="{:url('/')}">多人博客</a>
        </div>
        <div class="navbar-collapse collapse" role="navigation">
            <ul class="nav navbar-nav">
                <li><a href="{:url('index/category/index')}">分类列表</a></li>
            </ul>
            <ul class="nav navbar-nav navbar-right hidden-sm">
                <notempty name="Think.session.user">
                    <li><a href="{:url('user/index/index')}">个人中心</a></li>
                    <li><a href="{:url('user/index/logout')}">退出登录</a></li>
                    <else/>
                    <li><a href="{:url('index/user/signin')}">登录</a></li>
                    <li><a href="{:url('index/user/signup')}">注册</a></li>
                </notempty>
            </ul>
        </div>
    </div>
</div>
<div class="container content-box module-index">
    {__CONTENT__}
</div>
</body>
</html>